package com.zwk123;

public class Book {
	private String Author;
	private String Title;
	private double Price;
	private String Publisher;
	private int PublishedYear;

	public Book() {

	}

	public Book(String author, String title, double price, String publisher, int publishedYear) {
		super();
		Author = author;
		Title = title;
		Price = price;
		Publisher = publisher;
		PublishedYear = publishedYear;
	}
	
	public String getAuthor() {
		return Author;
	}
	public void setAuthor(String author) {
		Author = author;
	}
	public String getTitle() {
		return Title;
	}
	public void setTitle(String title) {
		Title = title;
	}
	public double getPrice() {
		return Price;
	}
	public void setPrice(double price) {
		Price = price;
	}
	public String getPublisher() {
		return Publisher;
	}
	public void setPublisher(String publisher) {
		Publisher = publisher;
	}
	public int getPublishedYear() {
		return PublishedYear;
	}
	public void setPublishedYear(int publishedYear) {
		PublishedYear = publishedYear;
	}

	@Override
	public String toString() {
		return "Book [Author=" + Author + ", Title=" + Title + ", Price=" + Price + ", Publisher=" + Publisher
				+ ", PublishedYear=" + PublishedYear + "]";
	}
	
	
}
